ComponentOne PDF for .NET
FillPolygon(Brush,PointF[],FillMode) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > FillPolygon Method : FillPolygon(Brush,PointF[],FillMode) Method
The object that determines the color used to fill the polygon.
Array of point structures that represent the vertices of the polygon.
System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
Fills a polygon defined by an array of point structures using the specified fill mode.
Syntax
'Declaration
 
Public Overloads Sub FillPolygon( _
   ByVal brush As System.Drawing.Brush, _
   ByVal points() As System.Drawing.PointF, _
   Optional ByVal fillMode As System.Drawing.Drawing2D.FillMode _
) 
public void FillPolygon( 
   System.Drawing.Brush brush,
   System.Drawing.PointF[] points,
   System.Drawing.Drawing2D.FillMode fillMode
)

Parameters

brush
The object that determines the color used to fill the polygon.
points
Array of point structures that represent the vertices of the polygon.
fillMode
System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List